package com.czy.owner.entity;

// FIXME generate failure  field _$Comments34

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by wangyang on 2017/6/12 0012.
 */

public class CommentGoodsModel implements Serializable{


    /**
     * userOrderId : 1233
     * comments : [{"goodsId":123,"star":2,"content":"jjjjjj","specGroupKey":"11111","pics":[{"url":"5555"}]}]
     */

    private int userOrderId;
    private List<CommentsBean> comments;

    public int getUserOrderId() {
        return userOrderId;
    }

    public void setUserOrderId(int userOrderId) {
        this.userOrderId = userOrderId;
    }

    public List<CommentsBean> getComments() {
        return comments;
    }

    public void setComments(List<CommentsBean> comments) {
        this.comments = comments;
    }

    public static class CommentsBean implements Serializable{
        /**
         * goodsId : 123
         * star : 2
         * content : jjjjjj
         * specGroupKey:11111
         * orderItemId:1
         * pics : [{"url":"5555"}]
         */

        private String goodsId;
        private float star;
        private String content;
        private String specGroupKey;
        private int orderItemId;
        private List<PicsBean> pics = new ArrayList<>();

        public String getGoodsId() {
            return goodsId;
        }

        public void setGoodsId(String goodsId) {
            this.goodsId = goodsId;
        }

        public float getStar() {
            return star;
        }

        public void setStar(float star) {
            this.star = star;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getSpecGroupKey() {
            return specGroupKey;
        }

        public void setSpecGroupKey(String specGroupKey) {
            this.specGroupKey = specGroupKey;
        }

        public int getOrderItemId() {
            return orderItemId;
        }

        public void setOrderItemId(int orderItemId) {
            this.orderItemId = orderItemId;
        }

        public List<PicsBean> getPics() {
            return pics;
        }

        public void setPics(List<PicsBean> pics) {
            this.pics = pics;
        }

        public static class PicsBean implements Serializable{
            /**
             * url : 5555
             */

            private String url;

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }
        }
    }

    @Override
    public String toString() {
        return "CommentGoodsModel{" +
                "userOrderId=" + userOrderId +
                ", comments=" + comments +
                '}';
    }
}
